const userinfo = {
    namespaced: true,
    state: {
        userself: {},
        login_token: ''
    },
    mutations: {
        setToken(state, token) {
            state.login_token = token
        },
        setUserself(state, info) {
            state.userinfo = info
        }
    }
}
export default userinfo;